Knapsack: A Zero-Cycle Memory Hierarchy Component
نویسندگان
چکیده
The widening gap between processors and memory necessitates the development of novel memory hierarchies: hierarchies that can possibly service memory references at register speeds, since service at cache speeds may not be adequate. We consider the design of a novel memory hierarchy component, a knapsack, whose purpose is to provide (very) fast access to frequently-used data objects. Software allocates frequently-used objects into a knapsack region of the address space; a knapsack provides fast access (at register speeds in many cases) to these objects. We discuss how a knapsack is diierent from other memory hierarchy components, how it can achieve superior performance over other components, and how it can be integrated transparently into an implementation of existing architectures. We also carry out a detailed evaluation of a knapsack using several of the SPEC92 benchmark programs. Our results show that for many programs, both numeric and non-numeric, the knapsack ooers signiicant opportunity for memory access optimization. Using a prooler-based packing heuristic which can allocate both globals and locals to the knapsack region, we found that a knapsack as small as 4k bytes could service a signiicant number of memory references for many of our benchmark programs.
منابع مشابه
Locus Oriented Adaptive Genetic Algorithm: Application to the Zero/One Knapsack Problem
The biological observation of the difference in the mutation rates of allele on different loci is implemented in genetic algorithm so that the mutation rate is both time and locus dependent. The performance of this new locus oriented adaptive genetic algorithm (LOAGA) is evaluated on the test problem of zero/one knapsack for various sizes. It is found that LOAGA can solve the single constraint ...
متن کاملA New Address-Free Memory Hierarchy Layer for Zero-Cycle Load
Data communications between producer instructions and consumer instructions through memory incur extra delays that degrade processor performance. In this paper, we introduce a new storage media with a novel addressing mechanism to avoid address calculations. Instead of a memory address, each load and store is assigned a signature for accessing the new storage. A signature consists of the color ...
متن کاملDispersionless Hirota equations of two-component BKP hierarchy
The BKP hierarchy has a two-component analogue (the 2-BKP hierarchy). Dispersionless limit of this multi-component hierarchy is considered on the level of the τ -function. The so called dispersionless Hirota equations are obtained from the Hirota equations of the τ -function. These dispersionless Hirota equations turn out to be equivalent to a system of Hamilton-Jacobi equations. Other relevant...
متن کاملMemory Hierarchy Design for Caching Middleware in the Age of NVM
Advances in storage technology have introduced Non-Volatile Memory, NVM, as a new storage medium. NVM, along with DRAM, NAND Flash, and Disk present a system designer with a wide array of options in designing caching middleware. This paper provides a systematic way to use knowledge about the frequencies of read and write requests to individual data items in order to determine the optimal cache ...
متن کاملOn the Lasserre/Sum-of-Squares Hierarchy with Knapsack Covering Inequalities
The Lasserre/Sum-of-Squares hierarchy is a systematic procedure to strengthen LP relaxations by constructing a sequence of increasingly tight formulations. For a wide variety of optimization problems, this approach captures the convex relaxations used in the best available approximation algorithms. The capacitated covering IP is an integer program of the form min{cx : Ux ≥ d, 0 ≤ x ≤ b, x ∈ Z+}...
متن کامل